:root {
  --green: #00843D;
  --light-bg: #f8f9fa;
  --border: #e5e5e5;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.auth-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-header .logo {
  height: 50px;
  margin-bottom: 10px;
}

.auth-header h2 {
  margin: 10px 0 5px;
  font-size: 24px;
  color: var(--green);
}

.auth-header p {
  color: #666;
  font-size: 14px;
}

.auth-form .form-group {
  margin-bottom: 15px;
}

.auth-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.auth-form label i {
  margin-right: 5px;
  color: var(--green);
}

.auth-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.auth-form input:focus {
  border-color: var(--green);
}

.auth-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-btn:hover {
  background: #006f31;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 15px 0;
  font-size: 14px;
  color: #666;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.divider span {
  padding: 0 10px;
  background: #fff;
}

.social-btn {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  border: none;
  color: #fff;
  font-weight: 500;
}

.social-btn.google {
  background: #db4437;
}

.social-btn.facebook {
  background: #4267B2;
}

.social-btn i {
  font-size: 16px;
}

.switch-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.switch-link a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.switch-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 500px) {
  .auth-card {
    padding: 20px;
  }

  .auth-header h2 {
    font-size: 20px;
  }

  .auth-btn, .social-btn {
    font-size: 15px;
  }
}
.messages {
  margin-bottom: 12px;
}
.message {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
}
.message.error {
  background-color: #ffe5e5;
  color: #d32f2f;
}
.message.success {
  background-color: #e6ffed;
  color: #388e3c;
}

/* Make select look like input */
.auth-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid black
  background: rgba(255,255,255,0.08);
  color: black;
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Fix option colors */
.auth-form select option {
  color: #000;
}

/* Add dropdown arrow */
.form-group {
  position: relative;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
